import { Module } from 'vuex';

import { RootState } from '@/store';
import { state } from './state';
import { getters } from './getters';
import { mutations } from './mutations';
import { actions } from './actions';

import type { State } from './state';
export { State };
export const store: Module<State, RootState> = {
    state,
    mutations,
    actions,
    getters,
};
